
void setup()
{
  
  // CTC Timer 0
  // Generate output waveform by setting Compare Output mode bits to toggle mode (COM0A1:0 = 1)
		// Also set DDR port pin as output
		// Maximum frequency of fclk_IO/2 when OCR0A is set to zero and 1 prescale factor
  pinMode(9, OUTPUT);  // Set OC1A pin as output

  TCCR1A = 0; // Clear register
  TCCR1A = (1 << COM1A0)  ;  // WGM/CTC1 - CTC   COM1A/B0 - Toggle A and B

  TCCR1B = 0; // Clear register
  TCCR1B = (1 << CS10) | (1 << WGM12) ; // CS10 - no prescaling

  OCR1A = 0x3;  // Set compare reg. to 0 for max frequency  (F_clk / 2)

  
}

void loop()
{
	

}

